package cn.cs.pojo;

import java.io.Serializable;
import java.util.List;

/***
 *   故障类型表
 */
public class FaultType implements Serializable {
    //id
    private String id;
    //故障类型编号
    private String faultCode;
    //故障类型名称
    private String faultName;
    //故障类型父Id
    private String parentId;
    //故障类型父编码
    private String parentCode;
    //等级
    private String level;
    //创建时间
    private String createTime;
    //更新时间
    private String updateTime;
    //下级分类
    private List<FaultType> nextType;

    private String serviceName;

    //get set 方法
    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public void setFaultCode(String faultCode) {
        this.faultCode = faultCode;
    }

    public String getFaultCode() {
        return this.faultCode;
    }

    public void setFaultName(String faultName) {
        this.faultName = faultName;
    }

    public String getFaultName() {
        return this.faultName;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentCode() {
        return this.parentCode;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return this.level;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public List<FaultType> getNextType() {
        return nextType;
    }

    public void setNextType(List<FaultType> nextType) {
        this.nextType = nextType;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
}
